package com.ztools.common.model.pc.export;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @Author: seeTools
 * @Date: 2023/6/22  17:19
 * @Version 1.0
 */
@Data
@ContentRowHeight(20)
@HeadRowHeight(30)
@ColumnWidth(20)
public class PointExport implements Serializable {

    private static final long serialVersionUID = 1L;

    @ExcelProperty("会员ID")
    private Long memberId;

    @ExcelProperty("会员名称")
    private String memberName;

    @ExcelProperty("渠道名称")
    private String channelName;

    @ExcelProperty("渠道ID")
    private String channelId;

    @ExcelProperty("操作积分")
    private Integer operationPoints;

    @ExcelProperty("操作类型名称")
    private String operationTypeName;

    @ExcelProperty("操作时间")
    private Date operationDate;

    @ExcelProperty("操作前积分")
    private Integer beforePoint;

    @ExcelProperty("操作后积分")
    private Integer afterPoint;

    @ExcelProperty("创建人名称")
    private String creatorName;

    @ExcelProperty("备注")
    private String remark;
}
